package app.controller.core
{
	import app.AppConstants;
	import app.model.flare.proxies.FlareDataProxy;
	
	import com.adobe.serialization.json.JSON;
	
	import flash.events.Event;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class DecodeToJSONCmd extends SimpleCommand
	{
		override public function execute(notification:INotification):void{
			var s:String =FlareDataProxy(facade.retrieveProxy(FlareDataProxy.NAME)).decode();
			sendNotification(AppConstants.SHOW_TEXT_FORM, null, s);
		}
		
		
	}
}